计算机与现代化 ›› 2010, Vol. 1 ›› Issue (5): 99-101.doi: 10.3969/j.issn.1006-2475.2010.05.029

• 信息系统 • 上一篇    下一篇

基于轻量级框架的Web系统的研究

张赛男,雷小雨,江谨瑶,张婷婷   

  1. 中国人民解放军理工大学理学院,江苏 南京 211100
  • 收稿日期:2009-11-19 修回日期:1900-01-01 出版日期:2010-05-10 发布日期:2010-05-10

Research on Web System Based on Lightweight Framework

ZHANG Sai-nan, LEI Xiao-yu, JIANG Jin-yao, ZHANG Ting-ting   

  1. School of Sciences, PLA University of Science and Technology, Nanjing 211100, China
  • Received:2009-11-19 Revised:1900-01-01 Online:2010-05-10 Published:2010-05-10

摘要: 介绍目前在J2EE平台上应用日益广泛的三个开源框架Struts、Spring以及Hibernate,分析它们的技术特点,提出这三个框架整合的方案,用Struts实现视图和控制器层,Spring构建业务逻辑层,用Hibernate 技术实现持久层,完成业务层和数据库层之间的交互。最后给出这三种框架的组合构筑的一般中小型Web应用系统的系统架构图。

关键词: Struts, Spring, Hibernate, 框架, Web

Abstract: This paper introduces three open source frameworks Struts, Spring and Hibernate, which are widely applied in J2EE platform, and analyzes their technical characters, and provides the three frameworks integration program in which Struts is used to realize view and controller layers, Spring is used to construct business logic layer, and Hibernate technology is used to realize persistence layer to complete the interaction between the database layer and the business layer. Finally, this paper shows the system architecture diagram of most small and medium Web application system using the three frameworks integration.

Key words: Struts, Spring, Hibernate, framework, Web

中图分类号: